package oop4;

/**
 * @author oldliu
 * @since 1.0
 */
public class Guzheng {
    //古筝弦的数目
    public static int lines=5;

    private String owner;
    public Guzheng(String o){
        this.owner=o;
    }

    public void play(String tingzhong){
        System.out.println("这是一把"+lines+"弦琴！");
        System.out.println(owner+"弹奏给"+tingzhong+"听！");
    }
}
